#include <iostream>
#include <string>

class Competitor {
private:
    std::string name;
    int average_score;
	int id;

	int rank;
public:
	void set_id(int id) {
		this->id = id;
	}

	void set_name(std::string name) {
		this->name = name;
	}

	void set_average_score(int average_score) {
		this->average_score = average_score;
	}

	std::string getName() {
		return name;
	}

	int getAverageScore() {
		return average_score;
	}

	int getId() {
		return id;
	}

	void setRank(int rank) {
		this->rank = rank;
	}

	int getRank() {
		return rank;
	}

	void competition_print() {
		std::cout << "Competitor Name: " << name;
		std::cout << " Competitor ID: " << id;
		std::cout << " Competitor Average Score: " << average_score;
		std::cout << " Competitor Rank: " << rank;
		std::cout << std::endl;
	}

	void before_start_print() {
		std::cout << "Competitor Name: " << name;
		std::cout << " Competitor ID: " << id;
		std::cout << std::endl ;
	}
};